package com.flyco.modules.returns.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flyco.common.aspect.annotation.Dict;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
public class OmsOrderReturnApplyExcel {

	@Excel(name = "退单编号", width = 25)
	private Long id;

	@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	/**申请状态：1->待客户确认；2->待销售审批；3->待后台审批；5已审批，4->已拒绝;  0->已取消*/
	@Excel(name = "状态", width = 15,dicCode = "returnApplyStatus")
	private Integer status;

	@Excel(name = "退单类型", width = 15,dicCode ="returnType" )
	private Integer returnType;

	@Excel(name = "经销商", width = 30)
	private String storeName;

	@Excel(name = "渠道", width = 15)
	private String channelName;

	@Excel(name = "销售", width = 15)
	private String saleUserName;

	@Excel(name = "物料名称", width = 25)
	private String productName;

	@Excel(name = "物料编码", width = 20)
	private String productSkuCode;

	@Excel(name = "单价", width = 15)
	private java.math.BigDecimal price;

	@Excel(name = "数量", width = 15)
	private Integer productCount;

	@Excel(name = "小计金额", width = 15)
	private java.math.BigDecimal totalAmount;
}
